package com.cqu.hospitalsystem.Vo;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class CheckResultForDoc {

    private String patientName;

    private String patientIdentify;

    private Date checkTime;

    private Long checkItemId;

    private String checkName;

    private String checkPart;

    private String resultText;

    private String resultImgAddr;

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientIdentify() {
        return patientIdentify;
    }

    public void setPatientIdentify(String patientIdentify) {
        this.patientIdentify = patientIdentify;
    }

    public String getCheckTime() {
        if(this.checkTime == null) return "";
        DateFormat fmt =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return fmt.format(this.checkTime);
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Long getCheckItemId() {
        return checkItemId;
    }

    public void setCheckItemId(Long checkItemId) {
        this.checkItemId = checkItemId;
    }

    public String getCheckName() {
        return checkName;
    }

    public void setCheckName(String checkName) {
        this.checkName = checkName;
    }

    public String getCheckPart() {
        return checkPart;
    }

    public void setCheckPart(String checkPart) {
        this.checkPart = checkPart;
    }

    public String getResultText() {
        return resultText;
    }

    public void setResultText(String resultText) {
        this.resultText = resultText;
    }

    public String getResultImgAddr() {
        return resultImgAddr;
    }

    public void setResultImgAddr(String resultImgAddr) {
        this.resultImgAddr = resultImgAddr;
    }
}
